@import '~@/style/base.less';

.banner_holder {
  height: 400px;
}
.index_banner {
  // position: fixed !important;
  // top: 0;
  // left: 0;
  // right: 0;
  width: 100vw;
  height: 400px;
  .banner_item {
    width: 100vw;
    height: 400px;
  }
  .banner_dots {
    position: absolute;
    z-index: 3;
    bottom: 110px;
    width: 100%;
    height: 20px;
  }
}

.index_main {
  position: relative;
  z-index: 2;
  background: #ffffff;
}

.index_navList {
  position: absolute;
  top: -100px;
  left: 0;
  right: 0;
  margin: 0 28px;
  padding: 16px;
  background: #ffffff;
  display: flex;
  justify-content: space-around;
  border-radius: 16px;
  .box_shadow();
  .item {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: space-around;
    > p {
      font-size: 20px;
      color: #333333;
      margin-top: 10px;
    }
  }
  .icon {
    font-size: 70px;
  }
}

.index_operation {
  padding-top: 50px;
  display: flex;
  justify-content: space-between;
  padding: 60px 28px 0;
  background: #ffffff;
  .item {
    position: relative;
    flex: 1 0 300px;
    text-align: left;
    height: 130px;
    border-radius: 16px;
    border: 0;
    color: #ffffff;
    padding: 28px;
    .box_shadow();
    > h3 {
      font-size: 32px;
      margin-bottom: 8px;
    }
    > p {
      font-size: 20px;
      opacity: 0.8;
    }
    .icon {
      position: absolute;
      right: 28px;
      top: 0;
      bottom: 0;
      margin: auto;
      font-size: 60px;
    }
    &:nth-child(1) {
      background: #02adda;
    }
    &:nth-child(2) {
      margin-left: 28px;
      background: #f05168;
    }
  }
}

.waterfall {
  display: flex;
  padding: 28px;
  .colum {
    flex: 1 0 300px;
    &:nth-child(1) {
      margin-right: 28px;
    }
  }
  .item {
    background: #fafafa;
    margin-bottom: 28px;
    .box_shadow();
    border-radius: 16px;
    overflow: hidden;
    .pic {
      height: 400px;
    }
    .cont {
      margin: 16px;
      overflow: hidden;
      .txt_cut(2);
    }
  }
  .user {
    display: flex;
    align-items: center;
    padding: 0 16px 16px;
    font-size: 24px;
    .avatar {
      flex: 0 0 40px;
      width: 40px;
      height: 40px;
      border-radius: 40px;
      overflow: hidden;
      margin-right: 8px;
    }
    .author {
      flex: 1 1;
      color: #999999;
    }
    .date {
      flex: 0 0 auto;
      color: #999999;
    }
  }
}
